package dparish.client.rf;

import java.util.List;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

import dparish.client.proxy.StudentProxy;
import dparish.server.dao.DaoServiceLocator;
import dparish.server.dao.StudentDAO;

@Service (value=StudentDAO.class, locator=DaoServiceLocator.class)
public interface StudentRequest extends RequestContext{

	Request<List<StudentProxy>> findAll();
	Request<Void> store(StudentProxy student);
	Request<StudentProxy> find (Long studentId);
}
